home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zunmtr.z / zunmtr
Encoding:
Text File  |  2002-10-03  |  5.3 KB  |  199 lines

  1.  
  2.  
  3.  
  4. ZZZZUUUUNNNNMMMMTTTTRRRR((((3333SSSS))))                                                          ZZZZUUUUNNNNMMMMTTTTRRRR((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZUNMTR - overwrite the general complex M-by-N matrix C with  SIDE = 'L'
  10.      SIDE = 'R' TRANS = 'N'
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE ZUNMTR( SIDE, UPLO, TRANS, M, N, A, LDA, TAU, C, LDC, WORK,
  14.                         LWORK, INFO )
  15.  
  16.          CHARACTER      SIDE, TRANS, UPLO
  17.  
  18.          INTEGER        INFO, LDA, LDC, LWORK, M, N
  19.  
  20.          COMPLEX*16     A( LDA, * ), C( LDC, * ), TAU( * ), WORK( * )
  21.  
  22. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  23.      These routines are part of the SCSL Scientific Library and can be loaded
  24.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  25.      directs the linker to use the multi-processor version of the library.
  26.  
  27.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  28.      4 bytes (32 bits). Another version of SCSL is available in which integers
  29.      are 8 bytes (64 bits).  This version allows the user access to larger
  30.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  31.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  32.      only one of the two versions; 4-byte integer and 8-byte integer library
  33.      calls cannot be mixed.
  34.  
  35. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  36.      ZUNMTR overwrites the general complex M-by-N matrix C with SIDE = 'L'
  37.      SIDE = 'R' TRANS = 'N': Q * C C * Q TRANS = 'C':      Q**H * C       C *
  38.      Q**H
  39.  
  40.      where Q is a complex unitary matrix of order nq, with nq = m if SIDE =
  41.      'L' and nq = n if SIDE = 'R'. Q is defined as the product of nq-1
  42.      elementary reflectors, as returned by ZHETRD:
  43.  
  44.      if UPLO = 'U', Q = H(nq-1) . . . H(2) H(1);
  45.  
  46.      if UPLO = 'L', Q = H(1) H(2) . . . H(nq-1).
  47.  
  48.  
  49. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  50.      SIDE    (input) CHARACTER*1
  51.              = 'L': apply Q or Q**H from the Left;
  52.              = 'R': apply Q or Q**H from the Right.
  53.  
  54.      UPLO    (input) CHARACTER*1
  55.              = 'U': Upper triangle of A contains elementary reflectors from
  56.              ZHETRD; = 'L': Lower triangle of A contains elementary reflectors
  57.              from ZHETRD.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZUUUUNNNNMMMMTTTTRRRR((((3333SSSS))))                                                          ZZZZUUUUNNNNMMMMTTTTRRRR((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      TRANS   (input) CHARACTER*1
  75.              = 'N':  No transpose, apply Q;
  76.              = 'C':  Conjugate transpose, apply Q**H.
  77.  
  78.      M       (input) INTEGER
  79.              The number of rows of the matrix C. M >= 0.
  80.  
  81.      N       (input) INTEGER
  82.              The number of columns of the matrix C. N >= 0.
  83.  
  84.      A       (input) COMPLEX*16 array, dimension
  85.              (LDA,M) if SIDE = 'L' (LDA,N) if SIDE = 'R' The vectors which
  86.              define the elementary reflectors, as returned by ZHETRD.
  87.  
  88.      LDA     (input) INTEGER
  89.              The leading dimension of the array A.  LDA >= max(1,M) if SIDE =
  90.              'L'; LDA >= max(1,N) if SIDE = 'R'.
  91.  
  92.      TAU     (input) COMPLEX*16 array, dimension
  93.              (M-1) if SIDE = 'L' (N-1) if SIDE = 'R' TAU(i) must contain the
  94.              scalar factor of the elementary reflector H(i), as returned by
  95.              ZHETRD.
  96.  
  97.      C       (input/output) COMPLEX*16 array, dimension (LDC,N)
  98.              On entry, the M-by-N matrix C.  On exit, C is overwritten by Q*C
  99.              or Q**H*C or C*Q**H or C*Q.
  100.  
  101.      LDC     (input) INTEGER
  102.              The leading dimension of the array C. LDC >= max(1,M).
  103.  
  104.      WORK    (workspace/output) COMPLEX*16 array, dimension (LWORK)
  105.              On exit, if INFO = 0, WORK(1) returns the optimal LWORK.
  106.  
  107.      LWORK   (input) INTEGER
  108.              The dimension of the array WORK.  If SIDE = 'L', LWORK >=
  109.              max(1,N); if SIDE = 'R', LWORK >= max(1,M).  For optimum
  110.              performance LWORK >= N*NB if SIDE = 'L', and LWORK >=M*NB if SIDE
  111.              = 'R', where NB is the optimal blocksize.
  112.  
  113.              If LWORK = -1, then a workspace query is assumed; the routine
  114.              only calculates the optimal size of the WORK array, returns this
  115.              value as the first entry of the WORK array, and no error message
  116.              related to LWORK is issued by XERBLA.
  117.  
  118.      INFO    (output) INTEGER
  119.              = 0:  successful exit
  120.              < 0:  if INFO = -i, the i-th argument had an illegal value
  121.  
  122. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  123.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ZZZZUUUUNNNNMMMMTTTTRRRR((((3333SSSS))))                                                          ZZZZUUUUNNNNMMMMTTTTRRRR((((3333SSSS))))
  137.  
  138.  
  139.  
  140.      This man page is available only online.
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.